@charset "utf-8";
@function pxToRem($px){
    @return $px / 1000 * 1rem;
} 

%clearfix{
    &:before,
    &:after{
        content: '';
        display: table;
        font-size: 0;
        line-height: 0;
    }
    &:after{
        clear: both;
    }
}

html{font-size: calc(100vw / 1.92);}
body {
    font-weight: normal;
}
html{
    overflow: hidden;
}

.h-container{
    position: relative;
    z-index: 5;
}

.h-header{
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #1b1a46 url(../images/b.png) no-repeat center -1px;

    &:after{
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        left: 0;
        bottom: 0px;
        background: transparent url("../images/line.png") no-repeat 50% 0;
    }
    
    .h-header-title{
        color: #fff;
        letter-spacing: pxToRem(5);
        font-weight: bold;
        font-size: pxToRem(32);
        text-align: center;
        line-height: 1.8888;
    }

    .h-header-right{
        float: right;
        margin-right: pxToRem(30);
        margin-top: pxToRem(-42);
        font-size: pxToRem(24);
        font-family: "LD";
        color: #6299fc;
    }
}

.h-wrap{
    @extend %clearfix;
    margin: pxToRem(30) pxToRem(15);
}
.border_four,.border_two{
    position: relative;
    box-sizing: border-box;
}
.border{
    position: relative;
    width: 20%;
}
.border:after{
    position: absolute;
    content: '';
    width: calc(100% - 1px);
    height: 12px;
    left: 12px;
    top: 100%;
    border-left: 1px solid #24224d;
    border-bottom: 1px solid #24224d;
}
.border:before{
    position: absolute;
    content: '';
    width: 12px;
    height: 100%;
    right: -12px;
    top: 12px;
    border-top: 1px solid #24224d;
    border-right: 1px solid #24224d;
}
.border_four{
    width: 100%;
    height: 100%;
    border: 1px solid #3f3f64;
}
.border_two{
    width: 100%;
    height: 100%;
    position: relative;
}
.border_four:after,.border_two:after,.border_four:before,.border_two:before{
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid #6299fc;
}
.border_four:before,.border_two:before{
    border-right: none;
    left: -1px;
}
.border_four:before{
    top: -1px;
    border-bottom: none;
}
.border_two:before{
    bottom: -1px;
    border-top: none;
}
.border_four:after,.border_two:after{
    border-left: none;
    right: -1px;
}
.border_four:after{
    top: -1px;
    border-bottom: none;
}
.border_two:after{
    border-top: none;
    bottom: -1px;
}

.four{
    width: pxToRem(440);
    margin: 0 pxToRem(15);
}
.four:last-child{
    margin-right:0;
}
.border_inner{
    position: relative;
    padding: pxToRem(15);
    box-shadow: 0  0  60px  #2d2f87  inset;
    background-color: rgba(38, 46, 103, 0.33);
    text-align: center;
    
}
.border_inner::after{
    content: '';
    position: absolute;
    bottom: -1px;
    left:0;
    right: 0;
    margin: 0 auto;
    width: 60%;
    height: 3px;
    background: #6299fc;

}
.border_padding{
    padding: pxToRem(15);
}
.border_inner span{
    display: block;
    color: #afb1e8;
    font-size: pxToRem(16);
    font-weight: bold;
    line-height: 1;
    letter-spacing: pxToRem(2);
    font-family: "body"
}
.border_inner .white_num{
    color: white;
    font-size: pxToRem(18);
    position: relative;
    font-family: "LD";
    height: pxToRem(46);
    margin-top: pxToRem(15);
}

.border_inner .white_num>font{
    font-size: pxToRem(12);
    color: #afb1e8;
}

.border_inner strong{
    color: white;
    font-size: pxToRem(18);
    position: relative;
    top: 7px;
    vertical-align: top;
    display: inline-block;
}


.flip-clock-wrapper * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    font-family: "LD";
}

.flip-clock-wrapper a {
  cursor: pointer;
  text-decoration: none;
  color: #ccc; }

.flip-clock-wrapper a:hover {
  color: #fff; }

.flip-clock-wrapper ul {
  list-style: none; }

.flip-clock-wrapper.clearfix:before,
.flip-clock-wrapper.clearfix:after {
  content: " ";
  display: table; }

.flip-clock-wrapper.clearfix:after {
  clear: both; }

.flip-clock-wrapper.clearfix {
  *zoom: 1; }

.flip-clock-wrapper {
  font: normal 11px "Helvetica Neue", Helvetica, sans-serif;
  -webkit-user-select: none; }

.flip-clock-meridium {
  background: none !important;
  box-shadow: 0 0 0 !important;
  font-size: 36px !important; }

.flip-clock-meridium a { color: #313333; }

.flip-clock-wrapper {
  text-align: center;
  position: relative;
  width: 100%;
}

.flip-clock-wrapper:before,
.flip-clock-wrapper:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.flip-clock-wrapper:after {
    clear: both;
}

/* Skeleton */
.flip-clock-wrapper ul {
  position: relative;
  display: inline-block;
  margin: 0 pxToRem(3);
  width: pxToRem(30);
  height: pxToRem(46);
  font-size: pxToRem(36);
  font-weight: bold;
  line-height: pxToRem(46);
  border-radius: 6px;
  background: #000;
}

.flip-clock-wrapper ul li {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  line-height: pxToRem(46);
  text-decoration: none !important;
}

.flip-clock-wrapper ul li:first-child {
  z-index: 2; }

.flip-clock-wrapper ul li a {
  display: block;
  height: 100%;
  -webkit-perspective: 3rem;
  -moz-perspective: 3rem;
  perspective: 3rem;
  margin: 0 !important;
  overflow: visible !important;
  cursor: default !important; }

.flip-clock-wrapper ul li a div {
  z-index: 1;
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  font-size: .4rem;
  overflow: hidden; 
  outline: 1px solid transparent; }

.flip-clock-wrapper ul li a div .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2; }

.flip-clock-wrapper ul li a div.up {
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  top: 0; }

.flip-clock-wrapper ul li a div.up:after {
  content: "";
  position: absolute;
  top: pxToRem(22);
  left: 0;
  z-index: 5;
  width: 100%;
  height: 1px;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.7); }

.flip-clock-wrapper ul li a div.up:before {
    content: "";
    position: absolute;
    top: pxToRem(20);
    left: 0;
    z-index: 5;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: pxToRem(2) pxToRem(4);
    border-color: transparent  rgba(0, 0, 0, 0.7) transparent rgba(0, 0, 0, 0.7);
} 

.flip-clock-wrapper ul li a div.down:after {
    content: "";
    position: absolute;
    top: pxToRem(0);
    left: 0;
    z-index: 5;
    width: 100%;
    height: 1px;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.7); }

.flip-clock-wrapper ul li a div.down:before {
    content: "";
    position: absolute;
    top: pxToRem(-1);
    left: 0;
    z-index: 5;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: pxToRem(2) pxToRem(4);
    border-color: transparent  rgba(0, 0, 0, 0.7) transparent rgba(0, 0, 0, 0.7);
}


.flip-clock-wrapper ul li a div.down {
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
  bottom: 0;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.flip-clock-wrapper ul li a div div.inn {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 200%;
  color: #ccc;
  text-shadow: 0 1px 2px #000;
  text-align: center;
  background:linear-gradient(#2672fc,#580fb8);
  border-radius: 0px;
  font-size: pxToRem(36); }

.red.flip-clock-wrapper ul li a div div.inn {
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 200%;
    color: #ccc;
    text-shadow: 0 1px 2px #601522;
    text-align: center;
    background:linear-gradient(#f35286,#d81f3e);
    border-radius: 0px;
    font-size: pxToRem(36); 
}

.flip-clock-wrapper ul li a div.up div.inn {
  top: 0; }

.flip-clock-wrapper ul li a div.down div.inn {
  bottom: 0; }

/* PLAY */
.flip-clock-wrapper ul.play li.flip-clock-before {
  z-index: 3; }

.flip-clock-wrapper .flip {   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); }

.flip-clock-wrapper ul.play li.flip-clock-active {
  -webkit-animation: asd 0.01s 0.49s linear both;
  -moz-animation: asd 0.01s 0.49s linear both;
  animation: asd 0.01s 0.49s linear both;
  z-index: 5; }

.flip-clock-divider {
  float: left;
  display: inline-block;
  position: relative;
  width: .1rem;
  height: .5rem; }

.flip-clock-divider:first-child {
  width: 0; }

.flip-clock-dot {
  display: block;
  background: #323434;
  width: 10px;
  height: 10px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  left: 5px; }

.flip-clock-divider .flip-clock-label {
  position: absolute;
  top: -1.5em;
  right: -86px;
  color: black;
  text-shadow: none; }

.flip-clock-divider.minutes .flip-clock-label {
  right: -88px; }

.flip-clock-divider.seconds .flip-clock-label {
  right: -91px; }

.flip-clock-dot.top {
  top: 30px; }

.flip-clock-dot.bottom {
  bottom: 30px; }

@-webkit-keyframes asd {
  0% {
    z-index: 2; }

  100% {
    z-index: 4; } }

@-moz-keyframes asd {
  0% {
    z-index: 2; }

  100% {
    z-index: 4; } }

@-o-keyframes asd {
  0% {
    z-index: 2; }

  100% {
    z-index: 4; } }

@keyframes asd {
  0% {
    z-index: 2; }

  100% {
    z-index: 4; } }

.flip-clock-wrapper ul.play li.flip-clock-active .down {
  z-index: 2;
  -webkit-animation: turn 0.5s 0.5s linear both;
  -moz-animation: turn 0.5s 0.5s linear both;
  animation: turn 0.5s 0.5s linear both; }

@-webkit-keyframes turn {
  0% {
    -webkit-transform: rotateX(90deg); }

  100% {
    -webkit-transform: rotateX(0deg); } }

@-moz-keyframes turn {
  0% {
    -moz-transform: rotateX(90deg); }

  100% {
    -moz-transform: rotateX(0deg); } }

@-o-keyframes turn {
  0% {
    -o-transform: rotateX(90deg); }

  100% {
    -o-transform: rotateX(0deg); } }

@keyframes turn {
  0% {
    transform: rotateX(90deg); }

  100% {
    transform: rotateX(0deg); } }

.flip-clock-wrapper ul.play li.flip-clock-before .up {
  z-index: 2;
  -webkit-animation: turn2 0.5s linear both;
  -moz-animation: turn2 0.5s linear both;
  animation: turn2 0.5s linear both; }

@-webkit-keyframes turn2 {
  0% {
    -webkit-transform: rotateX(0deg); }

  100% {
    -webkit-transform: rotateX(-90deg); } }

@-moz-keyframes turn2 {
  0% {
    -moz-transform: rotateX(0deg); }

  100% {
    -moz-transform: rotateX(-90deg); } }

@-o-keyframes turn2 {
  0% {
    -o-transform: rotateX(0deg); }

  100% {
    -o-transform: rotateX(-90deg); } }

@keyframes turn2 {
  0% {
    transform: rotateX(0deg); }

  100% {
    transform: rotateX(-90deg); } }

.flip-clock-wrapper ul li.flip-clock-active {
  z-index: 3; }

/* SHADOW */
.flip-clock-wrapper ul.play li.flip-clock-before .up .shadow {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
  background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
  -webkit-animation: show 0.5s linear both;
  -moz-animation: show 0.5s linear both;
  animation: show 0.5s linear both; }

.flip-clock-wrapper ul.play li.flip-clock-active .up .shadow {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
  background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
  background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
  -webkit-animation: hide 0.5s 0.3s linear both;
  -moz-animation: hide 0.5s 0.3s linear both;
  animation: hide 0.5s 0.3s linear both; }

/*DOWN*/
.flip-clock-wrapper ul.play li.flip-clock-before .down .shadow {
  background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
  background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
  -webkit-animation: show 0.5s linear both;
  -moz-animation: show 0.5s linear both;
  animation: show 0.5s linear both; }

.flip-clock-wrapper ul.play li.flip-clock-active .down .shadow {
  background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
  background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
  background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
  -webkit-animation: hide 0.5s 0.3s linear both;
  -moz-animation: hide 0.5s 0.3s linear both;
  animation: hide 0.5s 0.2s linear both; }

@-webkit-keyframes show {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-moz-keyframes show {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-o-keyframes show {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@keyframes show {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-webkit-keyframes hide {
  0% {
    opacity: 1; }

  100% {
    opacity: 0; } }

@-moz-keyframes hide {
  0% {
    opacity: 1; }

  100% {
    opacity: 0; } }

@-o-keyframes hide {
  0% {
    opacity: 1; }

  100% {
    opacity: 0; } }

@keyframes hide {
  0% {
    opacity: 1; }

  100% {
    opacity: 0; } 
}

.h-line{
    @extend %clearfix;
    margin: pxToRem(30);
}
.h-item {
    float: left;
    position: relative;
    width: pxToRem(675);
    background: transparent url('../images/left_body.png') no-repeat;

    &:before{
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: transparent url('../images/right_body.png') no-repeat top right;
    }

    &:after{
        content: "";
        position: absolute;
        left: 4px;
        right: 3.5px;
        bottom: 0;
        height: 1px;
        background: #3f3f64;
    }

    & + .h-item{
        margin-left: pxToRem(30);
    }

    .h-item-title{
        position: relative;
        margin-top: pxToRem(5);
        height: pxToRem(56);
        background: transparent url("../images/head.png") no-repeat;
        background-size: auto 100%;
        color: #afb1e8;
        font-size: pxToRem(18);
        font-weight: bold;
        letter-spacing: pxToRem(2);

        span{
            display: block;
            margin-left: pxToRem(28);
            padding-top: pxToRem(25);
            width: pxToRem(244);
            text-align: center;
        }

        &:after{
            content: "";
            position: absolute;
            left: pxToRem(60);
            top: pxToRem(17);
            width: pxToRem(180);
            height: 1px;
            background:  #6299fc;
            opacity: .5;
        }
    }

    .h-item-body{
        background:-webkit-linear-gradient(top,rgba(0,0,0,0),rgba(4, 135,239, .25));/*new gradient for Webkit*/
        background:linear-gradient(top,rgba(0,0,0,0),rgba(4, 135,239, .25));
    }
}

.h-login{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -70%);
    width: 320px;

    .h-login-head{
        text-align: center;
        padding: 30px;
        color: #fff;

        em{
            display: block;
            margin: 0 auto;
            width: 70px;
            height: 70px;
            border: 1px solid rgba(255,255,255,.5);
            border-radius: 100%;
            overflow: hidden;
            background: rgba(255,255,255,.3) url("../images/user.png") no-repeat center 105%;
            background-size: 80% auto;
        }

        span{
            display: none;
            margin-top: 15px;
            font-size: 22px;
        }
    }

    .h-login-row{
        @extend %clearfix;
        padding: 1px 15px;
        background: rgba(255,255,255,.3);

        & + .h-login-row{
            margin-top: 15px;
        }

        label{
            float: left;
            margin-right: 15px;
            line-height: 38px;
            color: #fff;

            font{
                opacity: 0;
            }

            &+div{
                float: left;
            }
        }

        .l-input{
            border: none;
            padding: 10px 0;
            line-height: 18px;
            background: transparent;
            color: #fff;

            &:hover,
            &:focus,
            &:active{
                outline: none;
            }

            &::placeholder{
                color: #a5a5a5;
            }
        }
    }

    .h-login-btns {
        margin-top: 30px;
        
        button{
            font-size: 18px;
            width:100%;
            text-align: center;
            border: none;
            line-height: 40px;
            background:-moz-linear-gradient(left,#2672fc,#580fb8);/*Mozilla*/
            background:-webkit-gradient(linear,0 50%,100% 50%,from(#2672fc),to(#580fb8));/*Old gradient for webkit*/
            background:-webkit-linear-gradient(left,#2672fc,#580fb8);/*new gradient for Webkit*/
            background:-o-linear-gradient(left,#2672fc,#580fb8); 
            color: #fff;
            letter-spacing: 4px;
            
            cursor: pointer;

            &:active,
            &:focus{
                outline: none;
            }

            &:active{
                background: #2672fc;
            }

            &.disabled{
                opacity: .8;
                background: #2672fc;
            }
        }
    }

    .error-msg{
        position: absolute;
        left: 0;
        bottom: 0;
        margin-bottom: -30px;
        color: #f13a5b;
    }
}

.h-icon{
   display: block;
   margin-top: 7px;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   opacity: .8;
   
   &.h-icon-psd{
      background: transparent url("../images/lock.png") no-repeat center;
      background-size: 100% auto;
   }

   &.h-icon-user{
      background: transparent url("../images/user1.png") no-repeat center;
      background-size: 100% auto;
   }
}

.h-c-loading{
    position: relative;
    text-align: center;
    line-height: 1;
    height: 100%;
    color: #afb1e8;
    top: 40%;
}

.h-right{
    position: absolute;
    margin-right: pxToRem(30);
    margin-top: pxToRem(86);
    right: 0;
    top: 0;

    .h-item{
        width: pxToRem(450);
        float: none;
        background: transparent url('../images/left_body2.png') no-repeat;

        & + .h-item{
           margin-right: 0;
           margin-left: 0;
           margin-top: pxToRem(30);
        }

        .h-item-title{
          background: transparent url("../images/head2.png") no-repeat;
          background-size: auto 100%;

          span{
              width: pxToRem(187);
          }

          &:after{
              content: "";
              left: pxToRem(60);
              width: pxToRem(125);
              background: #f9c81f;
          }
        }
    }
}
